package com.vhly.classfile.bytecode;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

public interface BaseCode {

    public abstract String getName();

    public abstract int getOp();

    public abstract int length();

    public abstract void read(DataInputStream datainputstream)
            throws IOException;

    public abstract void write(DataOutputStream dataoutputstream)
            throws IOException;

    public abstract int getOffset();

    public abstract String getDescrption();

    public abstract void setOffset(int i);
}